package com.poetry.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.poetry.domain.dto.LoginDTO;
import com.poetry.domain.dto.UserDTO;
import com.poetry.domain.po.User;
import com.poetry.exception.R;
import org.springframework.web.multipart.MultipartFile;

public interface IUserService extends IService<User> {
    R<String> login(LoginDTO userDTO);

    R<String> sendVerificationCode(LoginDTO loginDTO);

    R<String> resetPassword(LoginDTO loginDTO);

    R<User> updateMessage(UserDTO userDTO);

    R<String> uploadFile(MultipartFile file);

    R<String> sign();

    R<Integer> signCount();
}
